import Vue from "vue";
import VueRouter from "vue-router";
import HotShow from "@/components/HotShow.vue";
import Coming from "@/components/Coming.vue";

Vue.use(VueRouter);

const routes = [
    {
        path: "/",
        component: HotShow,
    },
    {
        path: "/coming",
        component: Coming,
    }
];

const router = new VueRouter({
    mode: "history",
    routes
});

export default router;